# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=sailfish-access-control
pkgver=0.0.4
pkgrel=0
pkgdesc="A thin wrapper library on top of the getuid, getpwuid, getgrouplist, and friends"
url="https://git.sailfishos.org/mer-core/sailfish-access-control"
arch="all"
license="LGPL-2.1-or-later"
makedepends="qt5-qtbase-dev"
source="https://git.sailfishos.org/mer-core/sailfish-access-control/-/archive/$pkgver/sailfish-access-control-$pkgver.tar.gz"
options="!check" # No test suite available

build() {
	make -C glib
}

package() {
	ROOT="$pkgdir" make -C glib install
}

sha512sums="6e5d52b0a6ea82dfa2a74f4d1f9b117ebf4d4a07373a68e77f17bdb92e58e758fbb5f7e4cb19eadcb080536aa7380ed5d2df654cb21cffed20c431230bb611d3  sailfish-access-control-0.0.4.tar.gz"
